package com.sciencep.pro.core.domain.dto.user;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sciencep.pro.core.domain.entity.Role;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

@Data
@Accessors(chain = true)
public class UserListResponseTO {

    Long id;

    String userId;

    String userName;

    String mobile;

    String email;

    String position;

    String avatar;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    Date hiredDate;

    String jobNumber;

    Boolean isAdmin;

    Boolean isSenior;

    String workPlace;

    String roleNames;

    String deptNames;

    String deptId;

    String roldIds;

    List<Role> roleList;

    String employeeType;

    String employeeStatus;

    Integer isResign;

}
